/*
Theme Name: TM Style2
Theme URI: http://tmlife.net
Description: TM Style2
Author: phi
Version: 1.0
Tags: 
*/




/**
 *     base
 */
* {
    margin: 0px;
    padding: 0px;
    /**/
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
::selection {
    color: white;
    background: hsl(20, 80%, 50%);
}
*/

body {
    background-color: black;
    
    font-family: "Meiryo", "メイリオ", "ヒラギノ角ゴ Pro W3", sans-serif;
    font-size: 14px;
    line-height: 1.5em;
}
a {
    text-decoration: none;
}
a:visited {
    color: hsl(267, 85%, 43%);
}






/**
 *     header
 */
#header {
    width: 100%;
    background-color: black;
    background-image: url(img/bg.jpg);
    background-position: 100% 10%;
    background-size: 1200px;
    background-repeat: no-repeat;
}
#header hgroup {
    margin: 0px auto;
    padding-top: 50px;
    width: 1200px;
    height: 200px;
    color: white;
}
#header hgroup h1 {
    -webkit-box-reflect:below 5px -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(0.4, rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.8)) ); 
}
#header hgroup h1 a {
    font-size: 35px;
    font-style: italic;
    color: white;
    text-shadow: 2px 2px 2px #aaa;
}
#header hgroup h2 {
    margin-top: 40px;
    margin-left: 10px;
    font-size: 14px;
}









/**
 *     nav
 */
#nav {
    background: -webkit-linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), rgba(100, 100, 100, 0.5);
    background: -moz-linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), rgba(100, 100, 100, 0.5);
    background: -o-linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), rgba(100, 100, 100, 0.5);
    background: -ms-linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), rgba(100, 100, 100, 0.5);
    background: linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), rgba(100, 100, 100, 0.5);
}
#nav .menu-top-menu-container {
    margin: 0px auto;
    width: 1200px;
}
#nav ul {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: -ms-box;
    display: box;
    margin: 0px auto;
    width: 1200px;
    height: 40px;
    
    list-style: none;
}
#nav ul li {
    margin: 0px;
    text-align: center;
    border-left: 1px solid rgb(190, 190, 190);
}
#nav ul li:last-child {
    border-right: 1px solid rgb(190, 190, 190);
}
#nav ul li a {
    margin: 0px;
    display: block;
    padding-top: 10px;
    width: 120px;
    height: 40px;
    border-left: 1px solid #777;
    /*
    border-right: 1px solid #888;
    */
    
    color: white;
    /*
    font-weight: bold;
    */
    
    -webkit-transition: 250ms;
    -moz-transition: 250ms;
    -o-transition: 250ms;
    -ms-transition: 250ms;
    transition: 250ms;
}
#nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 16px 0px hsl(216, 90%, 70%);
}
#nav ul li a:active {
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 8px 0px white;
}




#contents {
    background-color: hsl(240, 10%, 95%);
}



#main {
    margin: 0px auto;
    padding: 10px 20px 40px;
    width: 1200px;
    background-color: white;
    box-shadow: 0px 4px 8px 0px black;
}

#main:hover {
}



#articles {
    float: left;
    margin: 10px;
    padding: 10px;
    width: 800px;
}
#articles>h1 {
    margin-top: 20px;
    padding: 5px 10px;
    
    background-color: #ccc;
    border-left: 10px double #888;
    
    color: white;
    font-size: 18px;
    line-height: 1.7em;
}

.entry * {
    /*
    padding: 0px;
    /**/
}
.entry {
    margin: 10px 0px 20px;
    padding-bottom: 40px;
    line-height: 1.7em;
    /*
    box-shadow: 0px 0px 12px 0px hsla(240, 50%, 50%, 1.0);
    */
}
.entry img {
    margin: 10px auto;
    padding: 5px;
    max-width: 640px;
    border: 1px solid #aaa;
    border-radius: 5px;
    
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;
}
.entry img:hover {
    box-shadow: 0px 0px 16px #aaf;
}

.entry iframe.video {
    display: block;
    margin: 10px auto;
    padding: 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
    
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;
}
.entry iframe.video:hover {
    box-shadow: 0px 0px 16px #afa;
}

.entry embed {
    padding: 5px;
    border: 1px solid #aaa;
    border-radius: 5px;
    
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;
}
.entry embed:hover {
    box-shadow: 0px 0px 16px #aff;
}

.entry .blog-info {
    margin-right: 35px;
}
.entry .blog-info ul {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: -ms-box;
    display: box;
    -webkit-box-pack: end;
    -moz-box-pack: end;
    -o-box-pack: end;
    -ms-box-pack: end;
    box-pack: end;
    width: 100%;
    list-style: none;
}
.entry .blog-info ul li {
    margin-left: 25px;
    margin-bottom: 10px;
}
.entry .blog-info ul li a {
    color: hsl(200, 75%, 50%);
}
.entry .blog-info ul li a:hover {
    text-shadow: 1px 1px 2px hsl(200, 75%, 50%);
}
.entry .blog-info ul li:before {
    padding-right: 5px;
}
.entry .blog-info ul li.date:before {
    content: "■Date: ";
    color: hsl(0, 50%, 50%);
}
.entry .blog-info ul li.cat:before {
    content: "◆Category: ";
    color: hsl(120, 50%, 50%);
}
.entry .blog-info ul li.tag:before {
    content: "★Tags: ";
    color: hsl(240, 50%, 50%);
}
.entry h1 {
    margin: 1em 0em;
    border-bottom: 2.5px solid hsl(220, 80%, 50%);
}
.entry h1 a {
    font-size: 30px;
    color: hsl(220, 80%, 50%);
    text-shadow: 2px 2px 4px #aaa;
    line-height: 1.7em;
}
.entry h2 {
    margin: 1.5em 0px 1.0em;
    border-bottom: solid 1px hsl(20, 80%, 50%); 
    font-size: 24px;
    color: hsl(20, 80%, 50%);
    line-height: 1.7em;
}
.entry h3 {
    margin: 0.5em 0px;
    font-size: 20px;
    color: hsl(120, 50%, 50%);
    line-height: 1.7em;
}
.entry h4, .entry h5, .entry h6 {
    margin: 1.3em 0px;
}
.entry .content p, .entry .content pre, .entry .content ul, .entry .content ol {
    margin: 1.5em 0;
}
.entry .content p a {
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
}
.entry .content p:hover a,
.entry .content li:hover a
{
    font-style: italic;
    text-shadow: 0px 0px 4px hsl(230, 100%, 70%);
    text-decoration: underline;
}
.entry ul, .entry ol {
    padding-left: 35px;
}

.entry dl {
    
}
.entry dl dt {
    margin: 1.5em 0 0.5em;
    padding-left: 5px;
    border-bottom: 1px dotted #aaa;
    font-weight: bold;
}
.entry dl dd {
    margin: 0.0em 1.0em;
    padding: 8px;
    background-color: hsla(210, 100%, 98%, 1.0);
    border-left: 4px solid #000;
    border-left-color: hsla(220, 100%, 70%, 1.0);
}

.entry section {
    padding: 5px 0px 10px;
}
.entry section section {
    margin-left: 15px;
}
.entry fieldset {
    padding: 0.35em 0.75em;
}
.entry blockquote {
    margin: 1em;
    padding: 1em;
    box-shadow: inset 0px 0px 8px 0px black;
    font-style: italic;
}
.entry table {
    margin: 1em;
    border-collapse: separate;
    border-spacing: 2px;
}
.entry table tr:nth-child(odd) {
    background-color: hsl(216, 100%, 95%);
}
.entry table th {
    padding: 5px 10px;
    color: white;
    background-color: hsl(220, 90%, 70%);
}
.entry table td {
    padding: 5px 10px;
    border: solid 1px hsl(0, 0%, 94%);
}

.entry .content .download {
    text-align: center;
}

            
.entry .content .download, .entry .content .demo {
    display: inline-block;
    width: 180px;
    height: 55px;
    margin: 0.5em;
    padding-top: 15px;
    background: rgba(50, 50, 50, 1.0);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 50, 50, 1.0);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 50, 50, 1.0);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 50, 50, 1.0);
    background: linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 50, 50, 1.0);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 1px 2px 4px 0px black;
    
    color: white;
    font-size: 25px;
    font-family: 'LeagueGothicRegular','Bebas Neue','Arial Narrow', Arial, sans-serif;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5), 0px 0px 2px rgba(255, 255, 255, 1);
    text-decoration: none;
    /*
    text-transform: uppercase;
    */
    
    -webkit-transition: 250ms;
    -moz-transition: 250ms;
    -o-transition: 250ms;
    transition: 250ms;
    
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.entry .content .download:hover, .entry .content .demo:hover {
    background: rgba(50, 100, 255, 1.0);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 100, 255, 1.0);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 100, 255, 1.0);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 100, 255, 1.0);
    background: linear-gradient(top, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.1) 51%, rgba(255, 255, 255, 0.2) 100%), rgba(50, 100, 255, 1.0);
}

.entry .content .download:active, .entry .content .demo:active {
    box-shadow: inset 0px 0px 4px #222;
}



/**
 *     side
 */
#side {
    float: right;
    padding: 10px;
    width: 300px;
}
#side .side-box {
    margin: 10px 5px 40px;
}
#side .side-box h1 {
    border-bottom: 1px solid #ccc;
    line-height: 1.7em;
}

#side .side-box .contents {
    padding-top: 10px;
}

#searchform {
}

#searchform #s {
    width: 180px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #aaa;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    
    color: #888;
}

#searchform #searchsubmit {
    position: relative;
    left: -6px;
    margin-left: 0px;
    padding: 5px 10px;
    background: -webkit-linear-gradient(top, hsla(0, 100%, 100%, 0.8) 0%, hsla(0, 100%, 100%, 0.3) 50%, hsla(0, 100%, 100%, 0.1) 51%, hsla(0, 100%, 100%, 0.2) 100%), hsla(220, 50%, 60%, 0.5);
    border: 1px solid #aaf;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 8px;
    
    font-weight: bold;
    color: hsla(220, 50%, 40%, 1.0);
}



#side .side-box ul {
    list-style: none;
}
#side .side-box ul ul {
    padding-left: 20px;
}
#side .side-box li a {
    font-size: 12px;
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
}
#side .side-box:hover li a {
    text-shadow: 0px 0px 4px hsl(230, 100%, 70%);
}
#side .side-box:hover li:hover a {
    font-style: italic;
    /*
    font-size: 20px;
    padding-left: 10px;
    zoom: 1.5;
    */
}
/* ぼかす */
#side .side-box:hover ul li:not(:hover) a {
    color: transparent;
    text-shadow: 0px 0px 3px hsla(230, 100%, 70%, 0.5);
}

/**
 *     tag cloud
 */
#side .side-box .tagcloud a {
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
}
#side .side-box .tagcloud:hover a:not(:hover) {
    color: transparent;
    text-shadow: 0px 0px 3px hsla(230, 100%, 70%, 0.5);
}
#side .side-box .tagcloud:hover a:hover {
    text-shadow: 0px 0px 1px hsla(230, 100%, 70%, 0.5);
}

/**
 *     footer
 */
#footer {
    min-height: 300px;
    max-height: 300px;
    background-color: black;
    background-image: url(img/bg.jpg);
    background-position: 100% 90%;
    background-size: 1200px;
    background-repeat: no-repeat;
    border-top: 15px solid hsla(240, 50%, 90%, 0.5);
    
    color: white;
}

#footer a {
    color: hsl(230, 100%, 80%);
}
#footer a:visited {
    color: hsl(230, 100%, 70%);
}

#footer address {
    padding: 20px;
    background-color: hsla(220, 100%, 50%, 0.25);
    box-shadow: inset 0px 0px 8px 0px white;
    
    text-align: center;
}

#footer-aside {
    display: -webkit-box;
    display: -moz-box;
    display: -o-box;
    display: -ms-box;
    display: box;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -o-box-pack: center;
    -ms-box-pack: center;
    box-pack: center;
    width: 100%;
}
#footer-aside .footer-widget {
    padding: 20px 0px;
}
#footer-aside .side-box {
    padding: 0px 20px;
    width: 400px;
}
#footer-aside .side-box {
    margin: 10px 5px 20px;
}
#footer-aside .side-box h1 {
    border-bottom: 1px solid #ccc;
    line-height: 1.7em;
}

#footer-aside .side-box .contents {
    padding-top: 10px;
}
#footer-aside .side-box ul {
    list-style: none;
}
#footer-aside .side-box ul ul {
    padding-left: 20px;
}
#footer-aside .side-box li {
    -webkit-transition: 200ms;
    -moz-transition: 200ms;
    -o-transition: 200ms;
    -ms-transition: 200ms;
    transition: 200ms;
}
#footer-aside .side-box:hover li {
    text-shadow:
        0px 0px 4px hsl(230, 100%, 70%),
        0px 0px 8px hsl(230, 100%, 70%);
}

#footer-aside .side-box:hover li:hover {
    padding-left: 5px;
}

/**
 *     util
 */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}
.clearfix {
    zoom: 1;
}

.transition-1s {
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;
}
.transition-500ms {
    -webkit-transition: 500ms;
    -moz-transition: 500ms;
    -o-transition: 500ms;
    -ms-transition: 500ms;
    transition: 500ms;
}
.transition-250ms {
    -webkit-transition: 250ms;
    -moz-transition: 250ms;
    -o-transition: 250ms;
    -ms-transition: 250ms;
    transition: 250ms;
}

.hide {
    opacity: 0.0;
}

.show {
    opacity: 1.0;
}



.center {
    text-align: center;
}








